package com.culture.system.service;


import com.culture.system.domain.CultureLeaveMessage;

import java.util.List;

/**
 * leaveMessageService接口
 *
 * @author lidongsheng
 * @date 2025-03-27
 */
public interface ICultureLeaveMessageService
{
    /**
     * 查询leaveMessage
     *
     * @param id leaveMessage主键
     * @return leaveMessage
     */
    public CultureLeaveMessage selectCultureLeaveMessageById(Long id);

    /**
     * 查询leaveMessage列表
     *
     * @param cultureLeaveMessage leaveMessage
     * @return leaveMessage集合
     */
    public List<CultureLeaveMessage> selectCultureLeaveMessageList(CultureLeaveMessage cultureLeaveMessage);

    /**
     * 新增leaveMessage
     *
     * @param cultureLeaveMessage leaveMessage
     * @return 结果
     */
    public int insertCultureLeaveMessage(CultureLeaveMessage cultureLeaveMessage);

    /**
     * 修改leaveMessage
     *
     * @param cultureLeaveMessage leaveMessage
     * @return 结果
     */
    public int updateCultureLeaveMessage(CultureLeaveMessage cultureLeaveMessage);

    /**
     * 批量删除leaveMessage
     *
     * @param ids 需要删除的leaveMessage主键集合
     * @return 结果
     */
    public int deleteCultureLeaveMessageByIds(Long[] ids);

    /**
     * 删除leaveMessage信息
     *
     * @param id leaveMessage主键
     * @return 结果
     */
    public int deleteCultureLeaveMessageById(Long id);
}
